package com.dotflat.check.controller;

import com.dotflat.check.domain.Device;
import com.dotflat.check.po.DevicePO;
import com.dotflat.check.service.DeviceService;
import com.dotflat.rest.controller.RestfulBaseController;
import com.matt.foundation.model.MemVerificationCache;
import com.matt.service.ClassesService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
@RequestMapping("/api/device")
@Slf4j
@Api(tags = "设备")
public class DeviceController extends RestfulBaseController<Device, DeviceService, DevicePO>
{

    @Autowired
    private  DeviceService deviceService;

    @Autowired
    protected MemVerificationCache cache;

    @Autowired
    private ClassesService classesService;

    @Autowired
    public void setBaseService(DeviceService service) {
        super.setBaseService(service);
    }


}
